package com.zw.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zw.common.entity.product.BrandEntity;
import com.zw.common.entity.product.CategoryBrandRelationEntity;
import com.zw.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author zw
 * @email Alisinngai@gmail.com
 * @date 2023-06-11 23:54:02
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);


    List<CategoryBrandRelationEntity> listByBrandId(Long brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrandDetail(Long brandId, String name);

    void updateCateGoryDetail(Long catId, String name);

    List<BrandEntity> queryBrandsByCatId(Long catId);
}

